file(GLOB_RECURSE SemanticFile CONFIGURE_DEPENDS "${PROJECT_SOURCE_DIR}/lib/Semantic/*.cpp")
message("Semantic listener files: ${SemanticFile}")
add_library(SemanticError ${SemanticFile})
target_link_libraries(SemanticError
    PRIVATE 
    antlr4_static
)